package com.hongdee.crm.cartag.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by 侯念晨 on 2017-05-14.
 */
@Entity
@Table(name = "T_Crm_Survery_Question_Resource")
public class TCrmSurveryQuestionResource extends BaseEntity {
    /**
     * 角色 ID, 关联T_BC_USER.u_id
     */
    @Column(length = 32, name = "question_id", nullable = false, columnDefinition = "VARCHAR(32) COMMENT '问题 ID'")
    private String questionId;
    /**
     * 资源ID,关联 T_BC_ RESOURCE.res_id
     */
    @Column(length = 32, name = "item_code", columnDefinition = "VARCHAR(32) COMMENT '问题项ID'")
    private String itemCode;

    @Column(length = 32, name = "group_code", columnDefinition = "VARCHAR(32) COMMENT '问题分类ID'")
    private String groupCode;


    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }
}
